Drupal 5.7
---------

This issue only started about a week ago. I can no longer log into admin as administrator once I "log out". The same password will not work. I have to hit "forgot password", get a temporary login emailed to me and log in using this feature. Then, again, once I "log out" I have to do this all over again because the password does not work.

I thought this was a database issue, not being able to write to the database. However, I can add content and do everything else I normally would.

Any suggestions?

Thanks in advance.

Comments

vm’s picture

I can't reproduce this behavior.

To help further, you will need to provide more information.

Server environment ? (PHP, MySQL Apache)

any contrib modules that are installed and enabled that would affect logins. If you are unsure, list them all.

alekm’s picture

Server hosted at GoDaddy (test server)
Apache, php 5, mySQL

May be problematic:
TinyMCE (Though does not affect regular text boxes, could it be making the password field into HTML or something rather then plain text?)
Mail MIME
Simple News

I suspect one of the ones on the top because they were the last ones installed, and it was around this time that it started happening.

Complete list of Modules installed (skipped core):
CCK
Content 5.x-1.7 Allows administrators to define new content types.
Content Copy 5.x-1.7 Enables ability to import/export field definitions.
Content Templates 5.x-1.9 Create templates to customize output of teaser and body content.
EMail 5.x-1.x-dev Defines an email field type for cck
Fieldgroup 5.x-1.7 Create field groups for CCK fields.

Image 5.x-1.2-rc1 Defines an image field type.
Image crop 5.x-1.1 Add cropping ability to images using javascript

Node Reference 5.x-1.7 Defines a field type for referencing one node from another.
Number 5.x-1.7 Defines numeric field types.
Depends on: Content (enabled)

Option Widgets 5.x-1.7 Defines selection, check box and radio button widgets for text and numeric fields.
Text 5.x-1.7 Defines simple text field types.
User Reference 5.x-1.7 Defines a field type for referencing a user from a node.

Basic event 5.x-1.0 A story-like node that implements the event API automatically.
Event 5.x-1.0 Calendaring API, calendar display and export
Event All Day 5.x-1.0 Allows creation of all-day events.
Event Views 5.x-1.0 Views-enables the event fields and creates default event views.

FlashVideo 5.x-2.7 Provides a way to attach Flash video to a node.
FlashVideo Amazon S3 Plugin 5.x-2.7 Adds Amazon S3 support
FlashVideo CCK 5.x-2.7 Provides a plugin to allow CCK parameters to overide FlashVideo functionality.
FlashVideo Views 5.x-2.7 Provides a plugin to allow Views functionality to the FlashVideo Module

Mime Mail 5.x-1.0 E-mail with HTML and attachments
Simplenews 5.x-1.3 Send newsletters to subscribed e-mail addresses.

IMCE 5.x-1.2 An image/file uploader and browser supporting personal directories and user quota.

Nice Menus 5.x-1.2 CSS/jQuery drop-down, drop-right and drop-left menus to be placed in blocks

Theme Settings API 5.x-2.8 Allows themes to add options to the themes settings page

TinyMCE 5.x-1.9 The most popular WYSIWYG editor for advanced content editing.

jQ 5.x-1.x-dev Allows modules to register jQuery plugins with a central repository.
jQ Bridge 5.x-1.x-dev Adds jQ support to several jQuery wrapper modules, including jCarousel.
JQuery Interface Library 5.x-1.0 An API and central location for modules that use the JQuery Interface library.
JQuery Update 5.x-1.0 Updates Drupal to use the latest version of JQuery.

Views
View - Theme 5.x-1.x-dev Using views, change themes for node pages.
Views 5.x-1.6 The views module creates customized views of node lists.
Views RSS 5.x-1.6 RSS plugin for the views feed selector argument.
Views Theme Wizard 5.x-1.6 The views theme wizard helps create stub theming for views.
Views UI 5.x-1.6 The Views UI module allows you to create and edit views.

--

vm’s picture

In future please report exact verison of Apache PHP and MySQL.

What I'd do first in this case as none of the modules to my eye would affect logins.

Put site in offline mode.
clear the sessions DB table

put site back online and check logins.

if the problem persists, you will have to turn off one module at a time to see if there is an unexpected situation going on within one or more of them. While this may seem painstaking, turning them off one at a time is the only way I am aware of to narrow down the problem.

alekm’s picture

That sounds like a good approach, will give that a shot. Thank you for the info.

jlhurd’s picture

Noisebug - did you ever find a solution to this problem? I administer a website that is having similar issues.

alekm’s picture

Jlhurd,

I did not. However, I noticed this.

If I try to login using this: mysite.com?q=user, the login screen will be presented using my custom theme and works. If I try to login using mysite.com?q=admin, that is where the problem comes in. I am starting to think it has something to do with a theme override or something?

Though my administrator theme is Zen, and has never given me issues.

mainebob’s picture

I have a similar problem with a week old installation of D6. I had thought I was having a "senior moment" and forgot my Admin user1 password... Now I know it is D6. I have removed all the addon modules and have the installation back to it's
base configuration. I have a second account that i can log in and log out of NO Problem. It is only the user 1 superadmin account which has apparently NEVER worked since the install a week ago. I have reset this account about 8 times via
the onetime email link...

My Config:
Drupal 6.3
Access to update.php Protected
Configuration file Protected
Cron maintenance tasks Last run 8 min ago
You can run cron manually.
Database updates Up to date
File system Writable (public download method)
MySQL database 4.1.20
PHP 4.3.10
PHP memory limit
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Not enabled
Update notifications are not enabled.
Web server Apache/1.3.37

Looking forward on how to fix this. AND THANKS!
-MaineBOB